package springmvc.less01.dao;

import java.util.List;
import java.util.Map;

public interface Fooddao {

	public Integer getTableListCount(String name)throws Exception;
	
	public List<Map<String,Object>> getTable(String name,int startIndex,int length);

	public abstract void saveFood(String foodname, String price,
			String imagePath);

	public abstract void updateFoodtype(String foodid, String foodname,
			String price,String path);

	public abstract void deleteFoodType(String foodid);

	public Map<String,Object> foodById(String foodid);
}